package com.kb.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kb.common.MeException;
import com.kb.domain.ComponentInfo;
import com.kb.dto.gc.ComponentPageDTO;
import com.kb.entity.ComponentData;
import com.kb.entity.ModelApplication;

import java.util.List;
import java.util.Map;

public interface ComponentDataService  extends IService<ComponentData> {
    Map getComponent(String number);
    String viewPreview(String number);
    List<ComponentInfo> getInfoByPartNumber(ModelApplication modelApplication) throws MeException;
    Integer partNumber2Id(ModelApplication modelApplication) throws MeException;
    void updateESData(List<String> ids ) throws MeException;
}
